INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
IF(WIN32)
	INCLUDE_DIRECTORIES(${3RDPARTY_DIR}/include/gdal)
ELSE(WIN32)
	INCLUDE_DIRECTORIES(/usr/include/iodbc)
    INCLUDE_DIRECTORIES(/usr/local/netcdfcxx/include)
	INCLUDE_DIRECTORIES(/usr/local/netcdf4/include)
	LINK_DIRECTORIES(/usr/local/netcdfcxx/lib)	
	LINK_DIRECTORIES(/usr/local/netcdf4/lib)
ENDIF(WIN32)

SET(TARGET_H
    Util.h
    Task.h
    JobTimer.h
    Parser/Parser.h
)

SET(TARGET_SRC
    Util.cpp
    Task.cpp
    JobTimer.cpp
    Parser/Parser.cpp
	plugin.cpp
)

SET(TARGET_ADDED_LIBRARIES
    yaml-cpp
    drogon
    trantor
    OCServer
    OCGIS
    OCMain
    OCGrib
    OCNetCDF
)

SETUP_GROUP()


IF(WIN32)
    SET(TARGET_EXTERNAL_LIBRARIES 
    )
ENDIF(WIN32)

SETUP_PLUGIN(Project_IceCoverPre)

